@import url('constant.less');

.left-menu{
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: @left-width;
  background: #f5f6f9;
  z-index: 8;
  box-sizing: border-box;
  padding-top: @top-height;
}

.menu-con{
  margin: 0;
  padding: 0;


  .menu-label{
    height: @menu-item-height;
    line-height: @menu-item-height;
    font-size: 14px;
    color: #767e95;
    box-sizing: border-box;
    padding-left: 24px;
  }

  .menu-item{
    height: @menu-item-height;
    line-height: @menu-item-height;
    font-size: 18px;
    color: #252c41;
    box-sizing: border-box;
    border-left: 5px solid #f5f6f9;
    padding-left: 40px;
    margin: 0;
    cursor: pointer;

    &.active,&:hover{
      border-left: 5px solid #5d8bff;
      color: #5d8bff;
      background: #e9e9ec;
    }

    i{
      display: inline-block;
      width: 18px;
      height: 18px;
      vertical-align: middle;
      margin-right: 10px;
      background-size: 100% auto;
      
      &.all{
        background: url("menu_icons/all_active.png?__sprite") no-repeat;
      }
      &.pic{
        background: url("menu_icons/pic_active.png?__sprite") no-repeat;
      }
      &.video{
        background: url("menu_icons/video_active.png?__sprite") no-repeat;
      }
      &.doc{
        background: url("menu_icons/doc_active.png?__sprite") no-repeat;
      }
      &.star{
        background: url("menu_icons/star_active.png?__sprite") no-repeat;
      }
      &.contact{
        background: url("menu_icons/contact_active.png?__sprite") no-repeat;
      }
      &.note{
        background: url("menu_icons/note_active.png?__sprite") no-repeat;
      }
      &.recycle{
        background: url("menu_icons/recycle_active.png?__sprite") no-repeat;
      }


    }
  }

}


.space-con{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  font-size: 12px;
  color: #252c41;
  box-sizing: border-box;
  padding: 10px;

  .process-con{
    position: relative;
    height: 8px;
    border-radius: 10px;
    background: #ced3e1;

    .cur-space{
      position: absolute;
      left: 0;
      top: 0;
      max-width: 100%;
      height: 8px;
      background: #5d8bff;
      border-radius:10px;
    }
  }

  .space-tips{
    margin-top: 10px;


    .space-add{
      float: right;
      color: #5d8bff;
      text-decoration: none;
    }
  }

}